﻿using System.Windows.Media;

namespace YourLastOptionsDialog.ViewModels.Options
{
    /// <summary>
    /// An option that represents a <see cref="Color" /> value.
    /// </summary>
    public class ColorOption : Option
    {
        /// <summary>
        /// Gets or sets the color value of the wrapped underlying source.
        /// </summary>
        public Color Value
        {
            get
            {
                return (Color)GetAccessor();
            }

            set
            {
                SetAccessor(value);
                RaisePropertyChanged("Value");
            }
        }
    }
}